var connector = require("../../../src/runtime/jaba");

(function($service$){
var $input$ = {};

/* Init code */

/* Remote code */
var $script$ = 'for customer in root.Customers do (if ((customer.Region == "WA")) then (g0:customer.CustomerID; g1:customer.CompanyName) end; ) end; ';
var $batch$ = $service$.execute($script$, $input$, function($result$) {

/* Local code */
$result$.getIteration("customer").forEach(function(customer){
console.log(((("Customer " + customer.getString("g0")) + ": ") + customer.getString("g1")));
});

});
})(connector);